package cn.zjyj.module.zjyj.controller.admin.riskidentify.vo;

import cn.zjyj.module.zjyj.controller.admin.riskidentifyinstance.vo.RiskIdentifyInstanceRespVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import java.util.List;

import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 风险辨识主 Response VO")
@Data
@ExcelIgnoreUnannotated
public class RiskIdentifyRespVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "10678")
    @ExcelProperty("主键id")
    private Long id;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "风险类型（1:作业类，2:设备类，3:环境类，4公共类）", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("风险类型（1:作业类，2:设备类，3:环境类，4公共类）")
    private Integer riskType;

    @Schema(description = "风险类型内容id", requiredMode = Schema.RequiredMode.REQUIRED, example = "31163")
    @ExcelProperty("风险类型内容id")
    private Long riskTypeInfoId;

    private String riskInfoName;

    private Integer status;

    private List<RiskIdentifyInstanceRespVO> instances;

}